# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class BysItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


class CampusItem(scrapy.Item):
    """招聘公告"""
    title = scrapy.Field()  # 招聘公告名称
    date = scrapy.Field()  # 发布时间


class TeachinItem(scrapy.Item):
    """宣讲会"""
    title = scrapy.Field()  # 宣讲会名称
    date = scrapy.Field()  # 举办时间
    browse = scrapy.Field()  # 浏览次数
    unit = scrapy.Field()  # 单位名称
    property = scrapy.Field()  # 单位性质
    industry = scrapy.Field()  # 单位行业
    scale = scrapy.Field()  # 单位规模


class LnjydwItem(scrapy.Item):
    """往届生去向"""
    grade = scrapy.Field()  # 毕业年份
    education = scrapy.Field()  # 学历
    school = scrapy.Field()  # 院系
    major = scrapy.Field()  # 专业
    destination = scrapy.Field()  # 就业类别
    unit = scrapy.Field()  # 单位名称
    number = scrapy.Field()  # 人数
